<?php
namespace app\api\model;
use think\Model;

class Logs extends Model{
    protected $type = [
        'id'    =>  'integer' 
    ];    

    public function operator(){
        return $this->hasOne('manager','id','operator_id');
    }
}